package two_xia.ex4._3_2;

public class Client {
    public static void main(String[] args) {
        ImageReader imageReader;
        ImageReaderFactory imageReaderFactory;
        //HisenseTV
        imageReaderFactory = new JpgReaderFactory();
        imageReader = imageReaderFactory.creatReader();
        imageReader.reading();
        //HaierTV播放中
        imageReaderFactory = new GifReaderFactory();
        imageReader = imageReaderFactory.creatReader();
        imageReader.reading();
    }
}
